<div class="layui-row">
    <form id="form" class="layui-form toolbar">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">关键字:</label>
                <div class="layui-input-inline">
                    <input name="searchValue" class="layui-input"
                           placeholder="请输入名称、电话等信息"/>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn icon-btn" lay-filter="dataTbSearch" lay-submit>
                        <i class="layui-icon">&#xe615;</i>搜索
                    </button>
                    <button id="refresh" class="layui-btn icon-btn layui-btn-warm">
                        <i class="layui-icon layui-icon-refresh"></i>
                    </button>
                </div>
            </div>
        </div>
    </form>

    <table id="dataTable" lay-filter="dataTable"></table>
</div>
<!-- 表单弹窗 -->
<script type="text/html" id="dataEditDialog">
    <form id="dataEditForm" lay-filter="dataEditForm" class="layui-form model-form">
        <input name="id" type="hidden"/>


        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">客户id:</label>
            <div class="layui-input-block">
                <input name="customerId" type="number" class="layui-input" placeholder="请输入客户id"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">名称:</label>
            <div class="layui-input-block">
                <input name="name" class="layui-input" placeholder="请输入名称"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">电话:</label>
            <div class="layui-input-block">
                <input name="mobile" class="layui-input" placeholder="请输入电话"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">邮箱:</label>
            <div class="layui-input-block">
                <input name="email" class="layui-input" placeholder="请输入邮箱"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">微信:</label>
            <div class="layui-input-block">
                <input name="wx" class="layui-input" placeholder="请输入微信"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">是否决策人:</label>
            <div class="layui-input-block">
                <input name="decisionMaker" class="layui-input" placeholder="请输入是否决策人"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">地址:</label>
            <div class="layui-input-block">
                <input name="address" class="layui-input" placeholder="请输入地址"/>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">备注:</label>
            <div class="layui-input-block">
                <input name="remark" class="layui-input" placeholder="请输入备注"/>
            </div>
        </div>


        <div class="layui-form-item text-right ai-form-footer">
            <button class="layui-btn" lay-filter="dataEditSubmit" lay-submit>保存</button>
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        </div>
    </form>
</script>
<!-- 表格操作列 -->
<script type="text/html" id="dataTbBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script>

</script>